<?if ($error): ?>

<p>The login credentials you supplied could not be recognized. Please try again.</p>

<? endif; ?>

 

<form action="<?php echo $html->url('/user/login'); ?>" method="post">

<div>

    <label for="username">Username:</label>

    <?php echo $form->input('User/username', array('size' => 20)); ?>

</div>

<div>

    <label for="password">Password:</label>

    <?php echo $form->password('User/password', array('size' => 20)); ?>

</div>

<div>

    <?php echo $form->submit('Login'); ?>

</div>

</form>